package my.mark.mybaibaoxiang;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync//在SpringBoot环境中，要使用@Async注解，我们需要先在启动类上加上@EnableAsync注解。
@SpringBootApplication
public class MyBaiBaoXiangApplication {

	public static void main(String[] args) {
		SpringApplication.run(MyBaiBaoXiangApplication.class, args);
	}

}
